package ar.edu.utn.frsf.proyectofinal.sistemadecontrolmodbus.presentation.controller.admin;

public class StaticData {

	//public static final List<UserBean> USERS;
	//public static final List<DeviceTypeBean> TYPES;
	//public static final List<DeviceBean> DEVICES;
	
	static {
		/*
		TYPES = new ArrayList<DeviceTypeBean>();
		DeviceTypeBean devt1 = new DeviceTypeBean();
		devt1.setName("Tipo 1");
		TYPES.add(devt1);
		DeviceTypeBean devt2 = new DeviceTypeBean();
		devt2.setName("Tipo 2");
		TYPES.add(devt2);
		DeviceTypeBean devt3 = new DeviceTypeBean();
		devt3.setName("Tipo 3");
		TYPES.add(devt3);
		
		DEVICES = new ArrayList<DeviceBean>();
		DeviceBean dev1 = new DeviceBean();
		dev1.setName("Dispositivo 1");
		dev1.setType(devt1);
		DEVICES.add(dev1);
		DeviceBean dev2 = new DeviceBean();
		dev2.setName("Dispositivo 2");
		dev2.setType(devt2);
		DEVICES.add(dev2);
		DeviceBean dev3 = new DeviceBean();
		dev3.setName("Dispositivo 3");
		dev3.setType(devt3);
		DEVICES.add(dev3);
		
		USERS = new ArrayList<UserBean>();
		UserBean usr1 = new UserBean();
		usr1.setName("User 1");
		usr1.setUserDevices(new ArrayList<DeviceBean>());
		usr1.getUserDevices().add(dev1);
		usr1.getUserDevices().add(dev2);
		USERS.add(usr1);
		UserBean usr2 = new UserBean();
		usr2.setName("User 2");
		usr2.setUserDevices(new ArrayList<DeviceBean>());
		usr2.getUserDevices().add(dev2);
		usr2.getUserDevices().add(dev3);
		USERS.add(usr2);
		UserBean usr3 = new UserBean();
		usr3.setName("User 3");
		usr3.setUserDevices(new ArrayList<DeviceBean>());
		usr3.getUserDevices().add(dev1);
		usr3.getUserDevices().add(dev3);
		USERS.add(usr3);
		*/
	}
}
